<?php

return [

    'wechat'=>[
        'app_id' => 'wx84bbd23ec0156a9e',
        'secret' => '3a511dc4d6a37306b79ebe3e8c50db40',
        'token' => '1812a',
        'response_type' => 'array',
    ],

    'url' => [
        'domain' => 'http://www.esadmin.com/',
        'isRegister' => 'http://www.esadmin.com/api/user/isRegister/',
        "bargainUserHelp" => "/pages/BargainUserHelp/BargainUserHelp",
    ],
    //阿里云
    'aliyun' => [
        'accessKeyId' => 'LTAI4G3N1S4pMrVNx77dSA7v',
        'accessKeySecret' => 'w2WPCRxM1xnL7q9XZDyd9zGM3w1nKf',
        'alioss_bucket' => 'bliuce',
        'alioss_endpoint' => 'http://oss-cn-shanghai.aliyuncs.com',
        'alioss_domain' => 'https://yxp.luzhongyuan.top',
        'alioss_orginal_domain'=>'https://bliuce.oss-cn-shanghai.aliyuncs.com'
    ],

    //腾讯云
    'tencent' => [
        'secretId' => 'AKID37vTlmW0DAsJTLwGK7fwxh9KErEMEp9C',
        'secretKey' => 'nKaaJlwqTpvk00kDPKxKSLyLQEl10kHX',
        'region' => 'ap-shanghai',
        'bucket' => 'bliuce-1304516696',
    ],

    //短信验证码
    'Sms' => [
        //容联云
        'ronglian' => [
            'accountSid' => '8a216da877bef0fe0177ec63648a0efa',
            'accountToken' => 'd0020fda29d144aabce81e4825b429ec',
            'appId' => '8a216da877bef0fe0177ec63655c0f00',
            'tempId' => 1
        ],
        //短信宝
        'duanxinbao' => [
            //短信平台帐号
            'user' => 'indarkness',
            //短信平台密码
            'password' => 'mowenyu123',
        ],
        'default' => 'duanxinbao',
    ],

    //百度云
    'baidu' => [
        'appId' => '24674646',
        'apiKey' => 'YExwda7Kfg1hgG1TVUBRXPmC',
        'secretKey' => 'Kn3EOEnZizojlASmXi26jlY175YbdzPO',
        'groupId' => 'xiaoyangshop_phone',
    ],


    'seckill'=>[
        'userQualification'=>'seckill:User_qualification',
        'seckillInventory'=>'seckill:init:goods'
    ],

    'blance'=>"one:yue:pay",

    //加盐
    'salt' => '!@#$%*&*&*',

    'saltRand' => 'slzjwe==cver',

    'cart'=> 'one:cart:',

    //用户砍价邀请码
    'bargainUserCode' => "bargainUser:spread_code",

    //模块化数据查询
    'limit' => 4,
    //首页轮播图显示
    'home_image' => 5,
    //热门推荐
    'recommend_limit' =>'4',

    'elasticsearch'=>[
        'host'=>'47.101.202.80',
        'port'=>'9200'
    ],

    //图灵机器人
    'tuling' => [
        'url' => 'http://openapi.tuling123.com/openapi/api/v2',
        'apiKey' => '9e60a22307234ebd9711fe5671173336'
    ],
    //百度敏感词
    'sensitive'=>[
        'url'=>'https://aip.baidubce.com/oauth/2.0/token',
        'grant_type'=>'client_credentials',
        'client_id'=>'4lgdMQaC2ckr8HMT8CUFhGXn',
        'client_secret'=>'HRPrMoPhgteU53vl04BAm4gr1OM4xqk9',
        'tokenUrl'=>'https://aip.baidubce.com/rest/2.0/solution/v1/text_censor/v2/user_defined?access_token=',
    ],

    //订单延时队列参数 author：william
    'order_redis' => [
        'order_status_key' => 'order_status',//reids key
        'order_expire' => 1 * 60 //过期时间， 30分钟
    ],


    //物流接口
//    'logistics' => [
//        'AppKey' => '203969952',
//        'AppSecre' => 'pGKXj0wqAJntcAnyEjLRue8gCoBDzyaL',
//        'AppCode' => '12546012733d4fc9b50e7b09fc962bba'
//    ],

    //分页参数
    'pagesize' => 10,

    'api' => [
        'pagesize' => 20,
    ],

    //验证银行卡
    'bank' => [
        'AppCode' => '12546012733d4fc9b50e7b09fc962bba',
        'host' => 'https://bankali.market.alicloudapi.com',
        'path' => '/bank3RealCheck'
    ],

    //快递查询
    'logistics' => [
        'AppCode' => '12546012733d4fc9b50e7b09fc962bba',
        'host' => 'https://kdwlcxf.market.alicloudapi.com',
        'path' => '/kdwlcx'
    ],

    /**
     * 弹幕存储队列
     * william
     */
    'live'=>[
        'listKey'=>'one',
    ],

    //腾讯云物流轨迹
    'txyun' => [
        'secretId' => 'AKID3rczn9m0RmdfUUN3PWC3D4Z4D3rCbXC84aKW',
        'secretKey' => 'I7g8e0444749AYDQNTLMDPucV2lt9vaxM8XNLZeI'
//        'secretId' => 'AKIDA8qHSMzLRGo57sNbYEemdFafT1II1SeY',
//        'secretKey' => 'f3A1buxkHYYIm58uPdaGfneEXbQzIK5Z'
    ],

    //快递助手
    'kdzs' => [
//        'appkey' => '2832815702E94C408F72EBC03CC08ACE',
//        'appSecret' => '5BAF8299E3BF4943BC11163716E509CD'
        'appkey' => '04DBCAB19B554F2FB57BCF0391F4C473',
        'appSecret' => 'E36AED878EFA401FB3EC12025595E71C'
    ]
];